Solved

DOS Print Command to Output Method "Store" (Printer Email Box)

Posted on 2009-06-29
3
528 Views
Last Modified: 2013-11-09
Hi,

I'm trying to use DOS commands to print a folder of PDFs to the email box on a network printer.  I can print to it with no problem, and if I print from my desktop, I can config the print driver so that the Output Method is "Store".

Does anyone know a way for me to tell the DOS command to go to the mail box, a.k.a. Output Method "Store"?
0
Comment
Question by:mwidholm
[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
  • 2
3 Comments
 
LVL 15

Expert Comment

by:Giovanni Heward
ID: 24738986
Assuming that if you simply e-mail an PDF as an attachment to the printer's monitored inbox, and it prints successfully, all you need is a command-line SMTP mailer.

Blat is such one utility.
http://sourceforge.net/project/showfiles.php?group_id=81910&package_id=83961&release_id=497595

You would then create a batch file to process each PDF thru Blat... then move the PDF out of the processing directory as to not duplicate printing.








@echo off
if not exist processed\nul md processed
for %%f in (*.pdf) do (
echo processing %%f
if "%1"=="/d" echo debug mode enabled
if "%1"=="/d" blat -body "body message" -subject "subject" -server smtp.mailserver.com:25 -f from@email.address.com -to to@email.address.com -attach %%f -base64 -debug
if not "%1"=="/d" blat -body "body message" -subject "subject" -server smtp.mailserver.com:25 -f from@email.address.com -to to@email.address.com -attach %%f -base64 -q
if "%1"=="/d" move %%f processed
if not "%1"=="/d" move %%f processed > nul
echo finished processing %%f
)

Open in new window

0
 

Author Comment

by:mwidholm
ID: 24740828
Thanks, do you prefer x66, x72, or x65 as a nickname?

Our network ppl said SMTP services aren't turned on for that printer (Canon), but they're checking with Canon to see why this isn't working with the config as they have it.

I'll post back.
0
 

Accepted Solution

by:
mwidholm earned 0 total points
ID: 24864011
Canon came out and said it's unsupported to use DOS to print to a mailbox.  Bummer.
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

690 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