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 3 1339
Generate an image, and print that...
"Clint MacDonald" <cl***@interglo bal.ca> wrote in message
news:Xa******** ************@ro gers.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
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******** ************@gi ganews.com... Generate an image, and print that...
"Clint MacDonald" <cl***@interglo bal.ca> wrote in message news:Xa******** ************@ro gers.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
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 straightforward with PrintDocument, so I have had to create a new
class that uses Windows calls from within the PrintPage event. That solved
the spool file problem, but I have since been having trouble with formatted
text.
To use PrintPage events, I...
|
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, " +
"menubar=0,scrollbars=0,resizable=0,width=256,height=403";
OpenWindow = window.open("logon2.aspx", "remote", windowprops); //
opens remote control
|
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 to the form there is no
context menu when you right-click on your form in the start bar too (the one
with Restore, Move, Size, Close et al.)... How can I make this context menu
work again? Is there a way to tell the form to make it work even if...
|
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 bar to it so it
looks and functions like a normal bordered sizable form. However the
only thing I can't figure out is maximising. When I maximise my form,
it fills up the whole screen and covers up the Windows taskbar. I can
understand why you...
|
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
| |
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
m.Result = New IntPtr(2)
'Continue message
MyBase.WndProc(m)
End Select
|
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++ strings? Using a string stream and
the << operator does not give me the formatting control like sprintf. Or
did I miss something.... :-|
|
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 form used as a 'background', which shows a graphic, revision status & contact details etc
The menu-bar works fine when clicked by a mouse, but beeps when using an Alt+ letter 'acceleration' key, unless another user-form is already open over the top...
|
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 form, the icon was displayed in the task bar. But when I set the border to None, the icon no longer displays. The taskbar button only shows the text name of my program.
How can I get the icon to display in the taskbar for a borderless form?
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |