473,383 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Using Printer

hey! what's up?

I am trying to put some formated text on paper with my printer. How can
i manage this ?
Using win32 API functions ? Where can I search for them and their
prototypes?? Any idea would be helpful :))
THNX!! :)

Mar 21 '06 #1
4 2079

Try http://support.microsoft.com/kb/q154078/ . It is a Visual Basic article
but it should be fairly simple to apply to c++.
[Reply address is rot13 encoded]

"ejohn" <ej*****@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
hey! what's up?

I am trying to put some formated text on paper with my printer. How can
i manage this ?
Using win32 API functions ? Where can I search for them and their
prototypes?? Any idea would be helpful :))
THNX!! :)

Mar 21 '06 #2

Charles Petzold's book "Programming Windows, Fifth Edition" has a chapter on
this also.

http://www.amazon.com/gp/product/157...Fencoding=UTF8
[Reply address is rot13 encoded]

"ejohn" <ej*****@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
hey! what's up?

I am trying to put some formated text on paper with my printer. How can
i manage this ?
Using win32 API functions ? Where can I search for them and their
prototypes?? Any idea would be helpful :))
THNX!! :)

Mar 21 '06 #3
Thnx a lot for the link and the book. If you have extra info or sth
like pdf book on Win32 SDK would be helpful :)

Thnx :)

Apr 13 '06 #4
Thnx a lot for the link and the book. If you have extra info or sth
like pdf book on Win32 SDK would be helpful :)

Thnx :)

Apr 13 '06 #5

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

Similar topics

2
by: Billy Jacobs | last post by:
Can someone tell me what the problem with this code is. Specifically the line in all caps near the bottom. I am getting an error on this line saying: "Property Access must assingn to the property...
0
by: Marcel Sammut | last post by:
Greetings, I am converting a VB6 application to .net and am having troubles trying to print a document directley to the printer. My VB6 app used the API ShellExecute method to accomplish this,...
4
by: Umesh | last post by:
Hi all I am trying to change the printer(like paper source ,etc) setting in C#. But i am unable to do it. I am not sure how to do it. should i have to use WIN API like Openprinter , getprinter ,...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
0
by: Tessa | last post by:
Is there any security reason why you cannot print to a network printer from ASP.NET under IIS6 on Windows 2003 server? I'm using ASP.NET code to print to a server print queue using...
0
by: Dawn | last post by:
My application is coded to create a report using Excel and I would like to send it directly to a pre-determined network printer. (My intention is to pass the printer name in a variable.) However,...
4
by: Gregory Gadow | last post by:
I've cobbled together a PrinterClass that takes a text file and dumps it to a printer. The app using is has multiple threads, all of which need access to a shared instance. Can someone point me to...
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...
1
by: hasanainf | last post by:
Hi all and thanking you all in advance for your help My client wants to use a receipt printer. Since I have never used one before I have some questions. 1. Unlike other printers which are set...
1
by: sathyp | last post by:
Public Function SetPrinterDefaultsW(ByVal sPrinterName As String, _ ByVal nPaperSize As Long, ByVal nOrientation As Long) As Boolean Dim Prn As Printer Dim hPrinter As Long Dim pd As...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.