- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unix printing to Windows printer with PCL 6
Operating System - HP-UX
1822145
Members
3947
Online
109640
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010 07:51 AM
07-28-2010 07:51 AM
Unix printing to Windows printer with PCL 6
For many years we've been setting up our printers on HP/UX as remote printers essentially printing to the Windows version of the lpr/lpd daemon. We cat small files filled with escape codes to the front of the reports to perform some manipulation, such as landscape compressed, portrait 10 cpi, duplex, etc. It's worked fairly well but now we are starting to see PCL 6 printers. This print driver offers some advantages on the Windows side, so they would like to keep it. So my question is, is there a way to tell the printer to switch to PCL5e using escape codes or something similar while keeping the PCL 6 or Universal Print Driver? I've tried esc%0AescE and that didn't seem to work. Thanks
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010 08:49 AM
07-28-2010 08:49 AM
Re: Unix printing to Windows printer with PCL 6
Nedw printers, especially cheap printers, are dropping support for the classic PCL design where escape sequences control fonts, landscape, spacing and so on. Rather than include the hardware necessary to properly format the text (called the PCL formatter), inexpensive printers require that most of the formatting work be done in the host. Essentially, the host must store font information, and graphics macros which will produce a stream of ones and zeros indicating either a black dot or no dot (white).
In Windows, this is done with the driver which takes simple text with a generic set of directives from the applications and produces output suitable for the target printer. In older printers, you could simply send ABC to the printer and that's what would be printed. But with newer printers, you'll just get an error condition on the printer.
PCL6 is very poorly documented in printer specifications. PCL6 can be backwards compatible for PCL5 but it is not clear at all from printer specs if that feature is present. And the reason for this mess is that HP markets printers strictly for the PC platform. Just try to find the text "HP-UX" for any HP printer in the last 10+ years. And even the PCs don't fare very well. Most new printers have no drivers at all for Win2k or earlier, and older printers have no drivers for Win7. This is especially true for all-in-one printers.
AS far as I know, there is no filter in Windows that can take old PCL codes and translate them to something the PC driver and printer can use.
Bill Hassell, sysadmin
In Windows, this is done with the driver which takes simple text with a generic set of directives from the applications and produces output suitable for the target printer. In older printers, you could simply send ABC to the printer and that's what would be printed. But with newer printers, you'll just get an error condition on the printer.
PCL6 is very poorly documented in printer specifications. PCL6 can be backwards compatible for PCL5 but it is not clear at all from printer specs if that feature is present. And the reason for this mess is that HP markets printers strictly for the PC platform. Just try to find the text "HP-UX" for any HP printer in the last 10+ years. And even the PCs don't fare very well. Most new printers have no drivers at all for Win2k or earlier, and older printers have no drivers for Win7. This is especially true for all-in-one printers.
AS far as I know, there is no filter in Windows that can take old PCL codes and translate them to something the PC driver and printer can use.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP