472,958 Members | 2,508 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 1306
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.