Solved

"print to file" Question

Posted on 1998-10-16
11
355 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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