Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Postscript printing

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Postscript printing
 Login/Join
 
Member
posted
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,

Dave

This 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.
 
Posts: 14 | Registered: December 14, 2007Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
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.


Prod: WebFocus 7.7.3 Win 2003
Dev: WebFocus 7.7.3 Win 2003
 
Posts: 116 | Registered: April 23, 2007Report This Post
Member
posted Hide Post
Thank you both.

Donald your suggestion worked. We were able to use pdfp.exe to send pdf output directly to the printer.

Just to clarify, we changed the output of our fex to be pdf first and then used the command line:

DOS C:\ibi\Utilities\pdfp -p "Printer Name" C:\Webfocus\Save\FILENAME.PDF

This allowed us to configure a printer on the Webfocus server that uses a driver.

Thanks,

Dave


WebFOCUS version 761.
Windows operating system. SQL Server database.
Output: Currently creating Excel and PDF report output.
 
Posts: 14 | Registered: December 14, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Postscript printing

Copyright © 1996-2020 Information Builders