Problem With Printing Pdf With Barcodes S’abonner

0
Avatar
Legacy Poster

I have a new ZP 450 CPT and installed its latest Zebra driver 5.0.0.14 (not the Seagull version) on Windows 2008 R2.

 

I also installed a PDF printer and used it to generate PDF files from Bartender Automation 10.1. Barcodes in the PDF files are vector format and they look exactly same as what Bartender shows on screen.

 

The PDF files were printed perfectly on HP/Cannon laser printers but when they were printed on the Zebra printer, widths of the bars were slightly changed. The change seems random and caused by the calculation of positions during drawing.

 

There is no such problem when using Bartender to print same barcodes on the Zebra printer directly. I'm 100% sure there is nothing wrong with the PDF files (actually they were originally Postscript and then converted to PDF).

 

I understand this is NOT a Bartender problem but Zebra's technical support really sucks. So I had to come here to bother you guys with following questions:

 

Why did Bartender do the job correctly and how? Does Bartender use GDI to send jobs to the printer or it uses the printer driver directly? Does it use barcode fonts on the Zebra printer?

 

I'm a software engineer, so please do not hesitate to throw some technical details that could help me to fix the PDF printing problem on the stupid Zebra.

 

Thanks in advance.

4 commentaires

0
Avatar
Michael Toupin (mtoupin
Actions pour les commentaires Permalien

BarTender interacts with the printer driver to determine the DPI of the printer, then generate the barcode using the appropriate x-dimension to match the printer's physical capabilities.  The ZP450 is a 203 dpi printer, so when printing using the Zebra driver, it generates the data for a 203 dpi printer.  Your HP/Canon printer will be somewhere between 1200 dpi and 4800dpi, so when the print information for that is generated it's at a much higher DPI, then when you try to print it to the Zebra printer it has to re-render it at that lower dpi.  Also, Zebra printers are not vector-based printers, so whatever you print to it has to be rasterized first, and since the PDF program isn't rendering the barcodes but just sending them as an image to the printer, the printer driver is going to make a best guess on the output during the rasterization process, which may not make it exact.

 

So the first thing I'd try would be seeing if the PDF program that you're generating the PDF with can be adjusted to output the printout at 203dpi.  That way when the data is rasterized it's already at the appropriate size.  Other than that, see if there's an option in the PDF printing application to adjust the output DPI.  

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Thanks, Mike!

 

I believe you are right. I changed DPI to 203 when converting PS (1200 DPI) to PDF and the bar widths look less twisted. I can't set the PS printer to use 203 DPI because no PS printers supports it. (All PDF printers including Adobe's generate PS first and then convert PS to PDF).

 

Anyway, I'll generate ZPL from Bartender and let users send ZPL directly to thermal printers. Now I understand why UPS and FedEx return EPL/ZPL when using their online API to generate labels.

 

Thanks again!

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Hi yzhao13,

I'm also trying to print to Pdf but couldn't get it to work because of the page-size of the generated Pdf is always A4.
The Label (.btw file) size is 101.6 x 30 mm, but the generated Pdf is A4.
I use Bullzip PDF Printer.

Looks to me that you managed to generate/print Pdf file with no problem. I would like to know how you go about generating the Pdf.
As far as I know, BarTender generates a PostScript that gets converted to Pdf by the PDF Printer.
But I'm still not clear if I were to manually generate a Postscript from BarTender, how do I achieve that?

If I'm not mistaken from what you wrote (... I changed DPI to 203 when converting PS (1200 DPI) to PDF...) it seems like you manage to convert PS to PDF.
Would you mind shedding some light on how to do it?

Thanks in advance for your answer.



 

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Was this last question ever answered? Maybe in a different thread? I also have a similar situation, so my question is basically: how do I capture the PS

output from BarTender? Or actually any VECTOR based output format?

 

If I use the File->Export Image menu option even the "metafile" formats all seem to encapsulate the raster data instead of the actual vector data, and

the other formats that I would expect to be in vector format for whatever reason come out corrupt.

Vous devez vous connecter pour laisser un commentaire.