- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote printing: Ascii is printed instead of PCL
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
05-02-2002 09:09 AM
05-02-2002 09:09 AM
Remote printing: Ascii is printed instead of PCL
From Server1 to the remote print queue, the print job prints correctly formatted.
From Server2 to the remote print queue, the print job prints out as Ascii text so the PCL coding is visible.
The same queue is used on the remote NT or Linux server. The print queue is configured the same on Server1 and Server2. If I disable the HP print queue and look at the print files they are exactly the same. Somehow the remote print server is deciding to not print the file as raw???
I installed the latest lp patch PHCO_25110 on Server2???
I am looking for ways to troubleshoot and trace the print job from Server1 and Server2 to see where the issue is. (The remote print servers are across the WAN).
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:11 AM
05-02-2002 09:11 AM
Re: Remote printing: Ascii is printed instead of PCL
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:14 AM
05-02-2002 09:14 AM
Re: Remote printing: Ascii is printed instead of PCL
It's possible that rlp is being called differently.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:20 AM
05-02-2002 09:20 AM
Re: Remote printing: Ascii is printed instead of PCL
I.E.
Server1 prints to lp1 on NT, it is formatted.
Server2 prints to lp1 on NT, it is ascii text of PCL code.
The interface scripts are the same on Server1 and Server2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:26 AM
05-02-2002 09:26 AM
Re: Remote printing: Ascii is printed instead of PCL
I assume that lp is the command being used to start the print job on it's way.
Do a
which lp
on both servers.
You may be accessing a different lp command on the diff servers.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:31 AM
05-02-2002 09:31 AM
Re: Remote printing: Ascii is printed instead of PCL
But what is the destination printer setup for? If it is an HP with a JetDirect card, the card's default queue has to be set to AUTO. If it is a non-HP printer, check the manual to verify that it is configured to handle PCL.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:41 AM
05-02-2002 09:41 AM
Re: Remote printing: Ascii is printed instead of PCL
Server1
SAP sends a print job to server1, server1 has a print queue p001 setup as a remote printer to lp1 on NTserver1, Server1 sends the print job to queue lp1 on NTserver1. NTserver1 sends the print job to a HP5000 called LP1, the printer is connected to the network via jetadmin card. The print job prints out formated.
Server2
SAP sends a print job to server2, server2 has a print queue p001 setup as a remote printer to lp1 on NTserver1, Server2 sends the print job to queue lp1 on NTserver1. NTserver1 sends the print job to a HP5000 called LP1, the printer is connected to the network via jetadmin card. The print job prints out as ascii text of pcl code.
The printer prints fine from server1, but from server2 following the same path it prints as ascii text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:46 AM
05-02-2002 09:46 AM
Re: Remote printing: Ascii is printed instead of PCL
That's understood.
But you should, as the user that owns the SAP process, run
which lp
There may have been a util on server2 at some point that redirected the lp command.
I'm fairly sure that SAP just issues an lp command to send the print job.
Can't hurt to rule that out...
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 09:52 AM
05-02-2002 09:52 AM
Re: Remote printing: Ascii is printed instead of PCL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 11:50 AM
05-02-2002 11:50 AM
Re: Remote printing: Ascii is printed instead of PCL
SAP sends a print job to server2, server2 has a print queue p001 setup as a remote printer to lp1 on NTserver1, Server2 sends the print job to queue lp1 on NTserver1. NTserver1 sends the print job to a HP5000 called LP1, the printer is connected to the network via jetadmin card. The print job prints out as ascii text of pcl code<<
so they send to the same physical printer, or no? if no, telnet to the jet direct card and enter a backslash to see the current parameters. the default queue should be AUTO. if it is TEXT or RAW, it will not act on the PCL codes, just print them as you are seeing.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:09 PM
05-02-2002 01:09 PM
Re: Remote printing: Ascii is printed instead of PCL
I telneted to the printer and did a / there was no option for "Auto" etc. It is a HP laserjet 5000n.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:44 PM
05-02-2002 01:44 PM
Re: Remote printing: Ascii is printed instead of PCL
Would you provide us the following from each hpux server?
lpstat -vlp1
/etc/lp/interface/lp1
and the SAP spooler definition
And spooler details from the NTserver?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:52 PM
05-02-2002 01:52 PM
Re: Remote printing: Ascii is printed instead of PCL
SAP has it's own printer driver and formats the print output. If I disable the print queue on each server the print file created in /var/spool/lp/request/p001 is Exactly the same on server1 and server2. (ie a diff of the files doesn't return anything)
I have done some more research and did a network trace via nettl.
Server2 is sending the file with an "f" to print as text. (according to the LPR standard info)
Server1 is sending the file with an "l" to print file leaving control characters. (according to the LPR standard info)
I have a call open with HP to resolve the "f" / "l" issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 05:34 PM
05-02-2002 05:34 PM
Re: Remote printing: Ascii is printed instead of PCL
Check the printer script in /etc/lp/interface on both machines (diff them to find differences). The printer script is a copy of the model found at: /usr/lib/lp/model/rmodel
Bill Hassell, sysadmin