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

Home Posts Topics Members FAQ

Borderless formatted Printing from ASP.NET

Hello,
I am trying to create a small application that creates labels and I have
purchased a thermal transfer label printer. Now I need to be able to print
the formatted label to the printer without the browser header/footer and
without margins or borders....
Any starting ideas or links to resources that may help me...
Thanks
Clint
Nov 19 '05 #1
3 1325
Generate an image, and print that...

"Clint MacDonald" <cl***@interglobal.ca> wrote in message
news:Xa********************@rogers.com...
Hello,
I am trying to create a small application that creates labels and I have
purchased a thermal transfer label printer. Now I need to be able to
print the formatted label to the printer without the browser header/footer
and without margins or borders....
Any starting ideas or links to resources that may help me...
Thanks
Clint

Nov 19 '05 #2
Yes, but how do you print the image without the IE borders/page 1 or 1 and
the URL footer?
I guess I am asking how to print from ASP.NET with controlled output.
From my research it is important to note that the printer is on the server
or LAN shared and mapped to the server
I looked at CSS print, but only controlled content, not the print itself.

<japhar81> wrote in message news:gv********************@giganews.com...
Generate an image, and print that...

"Clint MacDonald" <cl***@interglobal.ca> wrote in message
news:Xa********************@rogers.com...
Hello,
I am trying to create a small application that creates labels and I have
purchased a thermal transfer label printer. Now I need to be able to
print the formatted label to the printer without the browser
header/footer and without margins or borders....
Any starting ideas or links to resources that may help me...
Thanks
Clint


Nov 19 '05 #3
If you are planning to print from the browser, you will need to control
print borders, headers and footers directly from the browser. For
Internet Explorer, Netscape Navigator and (I think) Mozilla, go to
File, Page Setup on the main menu and you will see options specifically
for these and other print settings.

I have found HTML opened from the browser to not be very good for
precise printing. Instead, it may pay to generate the labels in
another application and open it from the browser. For example, you
could use Office Web Components (OWC) to generate an Excel spreadsheet
which is formatted precisely for your labels. The spreadsheet can then
be opened in Excel from a link you provide in the browser.

Another approach that I have taken is to generate a comma-delimited
text file from the web application and store it on the server. The
user is then directed to open a MS Word document which is set up for a
mail merge. When the user opens the document, he/she is prompted to
enter a username. From that point, code in the document sets the mail
merge source to the appropriate csv file previously created on the
server. The advantage of this method is that the users (who were all
very experienced in doing MS Word mail merges) can individually change
the formatting to suit their needs. The disadvantage is that the
method is a bit clumsy because it required a few extra steps. Also, MS
Office security must be adjusted on each workstation to allow macros to
run. It does, however, produce perfect mailing label prints.

Bill E.

Nov 19 '05 #4

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

Similar topics

0
by: Stuart Woodard | last post by:
I am struggling to develop a robust mechanism for server-side printing with formatted documents. I need to produce print-spool files from the remote server-side application. This isn't...
5
by: trint | last post by:
I've tried everything... function showRemote() { self.name = ""; // names current window as "main" var windowprops = "border=0,titlebar=0,toolbar=0,location=0,directories=0,status=0, " +...
5
by: ThunderMusic | last post by:
Hi I'm currently developping a skinnable form by using a borderless form (Form.FormBorderStyle=None). Is it the right way to go in the first place? if it is. Assuming that when there is no border...
1
by: SeanR | last post by:
Hi, I wasn't happy with the customisability of the standard Windows form, so I decided to implement my own. Basically what I did was extend a borderless form and add my own borders and caption...
3
by: Rick | last post by:
I know I seen this before but IO cannot find it. How to you drag a borderless form in Vb.net 2005
8
by: James Arnold | last post by:
I currently have a borderless form, which I am subclassing to allow dragging & dropping: Protected Overrides Sub WndProc(ByRef m As Message) Select Case m.Msg Case 132 'Click & Drag Form...
6
by: Jojo | last post by:
Hi all, I was wondering how I can perform formatted output with C++ strings. For example, suppose I have in plain C: sprintf(C_string, "%5.2f %6d"); How can I do such a thing with C++...
5
by: sierra7 | last post by:
Hi I have been writing Access applications for some years now and have moved away from from the 'Switchboard' type of opening form to using a menubar accross the top of the screen and borderless...
2
by: plevintampabay | last post by:
I have a borderless form in C#. The form has an icon specified in its properties and I also have the same icon specified for the project in the project properties. When I had a border on the...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.