HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing from HPUX to a local PC LPT1 port
Operating System - HP-UX
1833792
Members
2322
Online
110063
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
Go to solution
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
12-08-2000 09:27 AM
12-08-2000 09:27 AM
I have an application, MFG/PRO that runs on our HPUX server and we need to print to the local PC's LPT1 port.
I can get it to print, but the last page does not eject and remains in the buffer. They have suggested that it is a printer command that needs to be set.
Does anyone know the command to eject the last page?
THe following is my printer setup within my application.
qqqqqqqqqqqqqqqqqqqqqqqqqqq Printer Definition qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Output To: LLJET0PS Printer Type: HP-PS x
x x
x Description: local-hpjet port stand Lines / Page: 60 x
x Max Pages: 0 Scroll Output: no x
xDevice Pathname: /dev/tty Spooler: no x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Printer Control qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Initialize Command: x
x x
x Initialize Ctrl: /027[5i x
x x
x 80-Col Start Ctrl: /027E/027&l0O/027(8U/027(s0p10h12v0s0b3T/027&l66P x
x /027&l2E/027&l7.8689C/027&l66F x
x 132-Col Start Ctrl: /027E/027&l0O/027(0U/027(s0p16.66h8.5v0s0b0T/027&l x
x 66P/027&l2E/027&l7.8689C/027&l66F x
x Reset Ctrl: /027[4i x
x x
x Reset Command: x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
I can get it to print, but the last page does not eject and remains in the buffer. They have suggested that it is a printer command that needs to be set.
Does anyone know the command to eject the last page?
THe following is my printer setup within my application.
qqqqqqqqqqqqqqqqqqqqqqqqqqq Printer Definition qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Output To: LLJET0PS Printer Type: HP-PS x
x x
x Description: local-hpjet port stand Lines / Page: 60 x
x Max Pages: 0 Scroll Output: no x
xDevice Pathname: /dev/tty Spooler: no x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Printer Control qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Initialize Command: x
x x
x Initialize Ctrl: /027[5i x
x x
x 80-Col Start Ctrl: /027E/027&l0O/027(8U/027(s0p10h12v0s0b3T/027&l66P x
x /027&l2E/027&l7.8689C/027&l66F x
x 132-Col Start Ctrl: /027E/027&l0O/027(0U/027(s0p16.66h8.5v0s0b0T/027&l x
x 66P/027&l2E/027&l7.8689C/027&l66F x
x Reset Ctrl: /027[4i x
x x
x Reset Command: x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
Always learning
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 01:09 PM
12-08-2000 01:09 PM
Re: Printing from HPUX to a local PC LPT1 port
Hi Nick
I remberber my days with MFG/Pro.
It sounds like your print job requires a page break at the end of the print job.
This should then throw out the last page.
HTH
Paula
I remberber my days with MFG/Pro.
It sounds like your print job requires a page break at the end of the print job.
This should then throw out the last page.
HTH
Paula
If you can spell SysAdmin then you is one - anon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2000 11:50 PM
12-09-2000 11:50 PM
Re: Printing from HPUX to a local PC LPT1 port
From the example config you have given it appears that you can embed control sequences.
The form feed instruction is control-L or ascii 027 so the lst instruction in your config fuile should be:
\027
I hope this helps, -Trevor
The form feed instruction is control-L or ascii 027 so the lst instruction in your config fuile should be:
\027
I hope this helps, -Trevor
I've got a little black book with me poems in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2000 11:53 PM
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP