Yeah, I'm familiar with the net use command... Unfortunately, I don't know the equivalent in Linux :(
Main Topics
Browse All TopicsIs this possible? I have an application that can only print to local block devices. I need to print to a network printer. I can access the printer by IP, or through a Windows share. Can a local block device be redirected to a network printer?
Thanks in advance!!
This question is in progress.
Our experts are working on an answer right now.
Sign up for immediate access to the solution once it becomes available.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
What do you mean with 'printing to block devices', is that equivalent to printing to a file.....
Any character device is equivalent to a file that can either be read as stream (terminal, cardreaders...) or written as a stream (terminal, printers...).
So raw access can be done through: use f.e. /dev/lp0 as a printing 'file'.
If a print spooler is used, you need a bit more work,
you need to print to a file and then start a printing job on that file.
You might be able to create a fifo device and use that as an intermediate to configure as a file.
and read the other end of the pipe using a script and have that script send the output to the printer.
Business Accounts
Answer for Membership
by: DansDadUKPosted on 2008-05-14 at 12:00:57ID: 21567528
With Windows systems, you can use the 'net use' command to redirect parallel-port output to a printer-share; e.g.:
me
net use LPT1: \\pc_name\printer_share_na
I assume that there must be an equivalent in *n*x (although I don't know what it is).