473,466 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Send a file straight to printer?

How can I send files straight to a printer from my c#.net app?
I also must include the margin's, trays and the stapler.
Thanks,
Trint

Nov 16 '05 #1
5 10115
Trint,

I don't think it is that simple. Based on the type of file it is, you
would have to find out how that file is rendered to the printer. There is
no universal print mechanism for any type of file.

Is this for one type of file in particular, or any type?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"trint" <tr***********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
How can I send files straight to a printer from my c#.net app?
I also must include the margin's, trays and the stapler.
Thanks,
Trint

Nov 16 '05 #2
This will be a .tiff file. And needs the margin, tray selection and
staple commands sent with it.
thanks,
trint
Nicholas Paldino [.NET/C# MVP] wrote:
Trint,

I don't think it is that simple. Based on the type of file it is, you would have to find out how that file is rendered to the printer. There is no universal print mechanism for any type of file.

Is this for one type of file in particular, or any type?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"trint" <tr***********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
How can I send files straight to a printer from my c#.net app?
I also must include the margin's, trays and the stapler.
Thanks,
Trint


Nov 16 '05 #3
Trint,

You should probably get a component that will handle all of this
yourself, as I don't think there is antything native (managed or unmanaged)
which can do this. Of course, if you already have an application that can
do this which can be automated, then I suggest you use that.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"trint" <tr***********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
This will be a .tiff file. And needs the margin, tray selection and
staple commands sent with it.
thanks,
trint
Nicholas Paldino [.NET/C# MVP] wrote:
Trint,

I don't think it is that simple. Based on the type of file it

is, you
would have to find out how that file is rendered to the printer.

There is
no universal print mechanism for any type of file.

Is this for one type of file in particular, or any type?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"trint" <tr***********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
> How can I send files straight to a printer from my c#.net app?
> I also must include the margin's, trays and the stapler.
> Thanks,
> Trint
>

Nov 16 '05 #4
I don't have the code in place yet...I do need a component within
c#.net (vs.net 2003) that will do this...where to look is how i need
help.
thanks,
trint

Nov 16 '05 #5
If all else fails, you could google something like "C# printing component
tiff"
You s/b able to find a couple components that offer free evaluation
versions.
You s/b able to explain to pre-sales staff exactly what you need it to do,
and
ask them how their product can do that. If you get a prompt helpful
response,
that's a very good sign.

-Rachel

"trint" <tr***********@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I don't have the code in place yet...I do need a component within
c#.net (vs.net 2003) that will do this...where to look is how i need
help.
thanks,
trint

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: free free | last post by:
Hi, i'am writing a python program and now i need to print some stuff. Before print i want to set the text to condensed text and to italic, so i have to send some esc commads to printer. my...
1
by: Paul | last post by:
I have a series of hyperlinks on my page which open up documents. Mainly pdfs. Can anyone tell me if it is possible to send these straight to the users printer or is this just asking too much ?...
1
by: Richard Johnson | last post by:
I am a C++ newbie and am trying to send simple text data to my local printer. My printer is a USB printer and I have tried the following code using my USB port. This code executes but does not send...
1
by: Michael Kilpatrick | last post by:
I'm writing a command-line PHP script that gets executed by a virtual printer (a redirected port using the Redmon tool). The PHP modifies the Postscript data before forwarding it to the real...
13
by: Susan Beebe | last post by:
I have downloaded the code described in Microsoft article Q154078. I am trying to send raw ZPL (zebra barcode printer) code from Microsoft access. It works just fine if I hard code the actual...
3
by: Bell, Kevin | last post by:
Does anyone have any suggestions on printing pdf's? These pdf's don't change much, so if it be more straight forward to convert them to jpgs, or another format, then that'd be fine too. ...
1
by: Hector M Banda | last post by:
Hi all, Need advice on how to send output to a tiket printer using VB2005. I cannot figure out how to send scape sequences to change fonts, etc. I am using a generic printer driver but no luck....
1
by: remya1000 | last post by:
how to send a .txt file to a printer. after creating a .txt file i need to send that .txt file to a printer.using vb.net and while sending that file to printer i need to tell, which printer i need...
0
by: dtnam | last post by:
Hi, I want to do something like that: void doc_PrintPage(object sender, PrintPageEventArgs e) { // draw a rectangle e.Graphics.DrawRectangle(Pens.Black, new Rectangle(10, 10, 100,...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.