Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing PCL's

Status
Not open for further replies.

abuthemagician

IS-IT--Management
Nov 26, 2003
192
US
Is there any way to make it so i can just right click on a PCL and have an option to print it without having to go into a command prompt and type "copy XXXXXX.pcl ltp1"????
 
I assume the XXXXXXXX.PCL is a report of some kind.

You could write a program that prints to the printer
by reading the file and then I suppose associate a PCL
extension with this program. That way, you should be able
to double click on it to print.
 
If it is on a Windows PC, then you can set up an appropriate entry in the Send To menu, which is available via the right-click context menu.

Exactly how it is set up depends on which flavour of Windows you are running, but the principle is the same in each case:
[ul]
[li]Create a batch file containing the required command, but with '%1' instead of the filename.
For a parallel port device on LPT1 this would be
copy /b %1 LPT1:
For a network connected device this would be:
lpr -S<IP-address> -P<queue> %1
where <IP-address> and <queue> are appropriate to the target device.[/li]
[li]Save this batch file; the location is immaterial, but it might be an idea to create a special folder for 'SendTo' scripts.[/li]
[li]Create a shortcut to the batch file, and save it in the current SendTo folder; where this is depends on which version of windows you are using.
For Windows XP, this would be the C:\Documents and Settings\username\SendTo folder (where username represents your user name.
(For some reason I've yet to find, it doesn't work if placed in the folder for All Users).[/li]
[/ul]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top