Solved

Modify EMF file for sending bin requests to appropriate printer

Posted on 2008-10-07
3
426 Views
Last Modified: 2013-12-05
We want to generate an EMF file, and then, based on page count and printer availability, send the EMF file to a specific printer chosen from a list.  If their are bin-specific sections (certain pages need to come from specific bins), how can we select a specific bin based on the printer by modifying the EMF file.  It's been our experience that most 'new' printers have bin numbers outside the normal range.
0
Comment
Question by:jbmsystems
[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
3 Comments
 
LVL 38

Accepted Solution

by:
hdhondt earned 500 total points
ID: 22664042
EMF (Enhanced Windows Metafile) files are graphic files in Windows' internal format. They are a new version of the old WMF files. These files cannot be sent directly to a printer, with or without changing tray numbers. To print an EMF, open it in an suitable application, such as Illustrator, Corel, Irfanview, etc. The printer driver will then convert the EMF into something understandable by the printer, and will let you change trays at print time.

To make your idea work you need to generate a file that is directly understood by the printer. If you generate a PCL5 file instead of EMF, you will be able to change the tray numbers before you send it to the printer. However that assumes the printer understands PCL, which excludes GDI printers (many low-cost lasers and most inkjets). You could do the same with PostScript, but PostScript files are much harder to generate and modify, and more printers support PCL than PS.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…

726 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