We need to send a postscript file directly to a Printek 4500 series printer using the following command:
DOS lpr -S -P -o l LABELS.PS
Printing to a laser printer works fine, but to the Printek it prints what appears to be postscript source code.
Does anyone know how to specify a driver using the DOS lpr command?
Thanks,
DaveThis message has been edited. Last edited by: Kerry,
WebFOCUS version 761. Windows operating system. SQL Server database. Output: Currently creating Excel and PDF report output.
September 29, 2008, 11:51 AM
Darin Lee
We use Postscript printing a lot and in every case, your problem has had to do with the printer itself. We use a similar command (for testing - we use ReportCaster for the actual print jobs) like
lpr -S printerIP -P DEFAULT filename
You might try printing a self diagnotics page from the printer itself to see if it is poscript-enabled. Some printers need to have jobs sent to a specific print queue for them to print postscript, in which case you would change DEFAULT in the above the the postscript queue name.
My strong suspicion is that that specific printer is not postscript-enabled. We have extranet customers who switch printers and then only get the ps printer code when printing our PS reports. They swear up and down that the printer is ps-enabled, but in the end, that is almost always the issue. Many printers are capable, but without the proper hardware module installed, will not handle a PS stream correctly.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
September 29, 2008, 01:51 PM
Donald
We have been around the world and back on this issue, and printek has said that they have no models that are postscript enabled. In order to print invoices on the printek we are using an open source program called pdfp.exe that is executed at the end of the fex. When reportcaster calls for the report, the pdpf.exe program converts the postscript text into pdf format prior to printing.