Solved

"print to file" Question

Posted on 1998-10-16
11
359 Views
Last Modified: 2010-04-12
Hi,

I have a slow Deskjet printer connected to my machine. Often I would prefer to print the output on another printer (laser) that is not connected to my machine (but to a networked system of computers). I was always under the impression that the "print to file" option in many programs allows one to write the printable ouput to a file and then allows one to print the file from any other machine, even if it does not have the application that created the file. I tried it but had no success. I'd appreciate any help in terms of advice on syntax etc.
0
Comment
Question by:irina
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +1
11 Comments
 

Expert Comment

by:ewilson
ID: 2012908
Install the printer that you would like to use locally on your machine, when it asks what port tell it print to file.  when you print to this printer on your computer it will prompt for a file name, type one in.  Copy this file to a disk and take it to a workstation that can print to this printer.  Make sure the workstation you are printing from has the printer captured to an LPT port (control panel/printers/properties for that printer/details/capture port).  Go to Dos and use the type command to pipe the file to the printer port that is captured.
Ex:  Type a:\test.prn >lpt1
note: substitute the lpt1 with whatever lpt port you have captured for that printer.
0
 
LVL 3

Expert Comment

by:duckers
ID: 2012909
ewilson has not considered some vital considerations. There are broadly speaking two main types of printer driver, PCL and PostScript. One needs to use a print driver to create the print file that is compatible with the printer you aim to print to. Eg if you save a PS file you will just get gobledegook out of your printer if it is PCL only printer. Also one should simply copy the file to the appropriate port i.e. copy a:\test.prn lpt1. This is a easy and straightforward task which I have do on a regular basis. 200 point is an overkill for this question.
Have fun
James
0
 
LVL 2

Expert Comment

by:bushhead
ID: 2012910
just a few comments that i have to add :)

if your machine is networked, why not just print straight to the printer that is hooked on already? maybe the person doesn't want to share the printer or something.. not sure.

anyways, you could just print striaght to that printer, or print to a file and then print to that printer. i have save a batch file called print.bat in a directory c:\print. i print to file all my documents with numbers there and then when i'm done i just go "print x x x x x x" where x are the document numbers.

the batch file is
@echo off
copy %1 /b \\machinename\printername
copy %2 /b \\machinename\printername

and so on, you can place as many as you like.. as to why i don't just print straight to the printer, i prefer to do all my printing at one shot and then go and collect it.

by the way, you can always edit the batch file to suit youself, like if you want to use it from the machine straight.

bush
0
Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

 
LVL 3

Expert Comment

by:duckers
ID: 2012911
Fully agree with bush. Like the batch file idea. The copy syntax bush suggests better suites the original question which did intimate that the printer you eanted to print on was availible over a network.
0
 

Author Comment

by:irina
ID: 2012912
Bushhead's suggestion worked. Please repost so that I can credit you the points.

Thanks all.

irina
0
 

Author Comment

by:irina
ID: 2012913
How do I find out the name of the Printer (especially on a Foolproofed system)?
0
 
LVL 2

Accepted Solution

by:
bushhead earned 200 total points
ID: 2012914
thanks irina.

with regard to your question, what is a 'foolproofed system'? under normal circumstances, just check the printer name of the other computer under printer settings then \\comp\printer

:)

bush
0
 

Author Comment

by:irina
ID: 2012915
Thanks
0
 

Author Comment

by:irina
ID: 2012916
Hi Bush,

Actually, I was asking about a network which is secured using FoolProof 95.  However, I have the printername I need. How do I find out the printername for a WindowsNT (protected) machine?

Thanks,

Irina
0
 

Author Comment

by:irina
ID: 2012917
Hi bush,

By the way, I was playing around with your batchfile syntax and found that one can use wildcards, i.e one can print multiple files using the following command:
copy *.prn /b \\machinename\printername

This way one can have all the prn files in one directory and print them all at once.

Irina
0
 
LVL 2

Expert Comment

by:bushhead
ID: 2012918
sorry i haven't been around for so long.. :) been busy with other stuff..

your tip about *.prn is good, but usually i spool differnt documents to differnt printers :) like colour*.prn to colour printer and bw* to laser printers :) thanks anyways

bush
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question