Solved

Modify EMF file for sending bin requests to appropriate printer

Posted on 2008-10-07
3
424 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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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