Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set IP print queue to print file in Landscape form

 
Lionel Liu_1
Occasional Visitor

How to set IP print queue to print file in Landscape form

Hello there

In VMS environment, I created a IP print
queue in the following DCL command. Is there anybody know how to set the queue so it can print file in Landscape form.

Thanks very much

Lionel

$init/queue/start testhp - /on="192.20.29.20:9100" - /default=(nofeed,noflag) - /library=hp8$head -
/no_init -
/sep=(reset=end) - /process=tcpip$telnetsym - /device=printer
9 REPLIES
Bojan Nemec
Honored Contributor

Re: How to set IP print queue to print file in Landscape form

Lionel,

Welcome to the VMS forum!

To print in landscape form you need to send an escape sequence to the printer.

You can do that with:

$ DEFINE/FORM/SETUP=module ...

The module must be inserted in the library (hp8$head in your case) and consists of a text file which contains the escape sequence. On some printers you must give the escape sequence on each page. You can do this with:

$ DEFINE/FORM/PAGE_SETUP=module ...

The escape sequence depends on the printer
type. For PCL printers (HP lasers and inkjets and many others) the escape is:

&l1O

Bojan
Lionel Liu
Advisor

Re: How to set IP print queue to print file in Landscape form

Thanks very much, Is there any place I can find documentation about it?

Lionel
Karl Rohwedder
Honored Contributor

Re: How to set IP print queue to print file in Landscape form

There are programming manuals for HP laserprinters describing PCL.

The VMS printqueue setup is described in System Manager Essentials Volume 1 chapter 14:
http://h71000.www7.hp.com/doc/82FINAL/aa-pv5mj-tk/aa-pv5mj-tk.HTMl

mfg kalle
Bojan Nemec
Honored Contributor

Re: How to set IP print queue to print file in Landscape form

Lionel Liu
Advisor

Re: How to set IP print queue to print file in Landscape form

Thank you Bojan and Rohwedder, I tried to add points to your accounts. But I couldn't find how to add points to your account.

Regards

Lionel
Kris Clippeleyr
Honored Contributor

Re: How to set IP print queue to print file in Landscape form

Lionel,


But I couldn't find how to add points to your account.


If you open this thread, you see at the top of every answer (to right side) a scroll box. Select the appropriate number of points you want to assign for each answer, and at the bottom of the thread, there is a button you have to push to assign the points.
Hope this helps.
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Lokesh_2
Esteemed Contributor

Re: How to set IP print queue to print file in Landscape form

Hi Liu,

You can instal DCPS also. Using DCPS you can print in landscape. It has many other features too.

Check the following link for more information.

http://h71000.www7.hp.com/openvms/print/index.html

HTH,
Thanks & regards,
Lokesh
What would you do with your life if you knew you could not fail?
Mobeen_1
Esteemed Contributor

Re: How to set IP print queue to print file in Landscape form

Lionel,
Once you create a form as per Bojan's suggestion... add the following qualifier to your init command

/default=(form=form_you_created)

rgds
Mobeen
Kris Clippeleyr
Honored Contributor

Re: How to set IP print queue to print file in Landscape form

Lionel,

Triggered by

Thank you Bojan and Rohwedder, I tried to add points to your accounts. But I couldn't find how to add points to your account.

Regards

Lionel

I did some digging. It seems that you have two (2) profiles on the ITRC.

http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA1250859&forumId=1

and

http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA1253728&forumId=1

If you are logged in using one profile, you can't assign points in threads posted with the other profile, and vice versa.

Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...