Select label when printing to Dymo 450 Twin Turbo

LilStevie

Board Regular
Joined
Nov 13, 2006
Messages
232
Ok, I thought that I think that i have got this to print to to the correct printer, now i just need some help to get it to print to the correct label. I have a DYMO 450 Twin turbo and I would like to print to the right side label only.

I have some basic knowledge, but any help or pointing in the correct direction would be greatly appreciated.

This is a USB printer, i have attempted to modify the printer settings through windows print set up to no avail, it always defaults to the left side label.

Thank You!!!

EDIT: I have found this through google, but i have no idea on how to incorporate it. http://developers.dymo.com/2010/04/30/the-dymoaddin-object/


Code:
Sub printDYMO()
Dim oldpname As String
Dim temppname As String
Dim j As Integer


' ##### check for computer, if not found exit ##########

If CreateObject("Scripting.FileSystemObject").GetDrive("C:\").SerialNumber <> "849981254" Then
     MsgBox "DYMO Label printer not found" & vbCr & "Please hand write the CCK vial and syringe labels", vbCritical, "CCK Labels"
     Exit Sub
End If

' ####### record default printer for reset later ###########

oldpname = Application.ActivePrinter 


' ######## loop through printer NEOx names ############
For j = 0 To 9
    On Error Resume Next

    temppname = "DYMO LabelWriter 450 Twin Turbo on Ne0" & j & ":"

    Application.ActivePrinter = temppname

If Application.ActivePrinter = temppname Then
    

    unprotectall
    Sheet8.PrintOut Copies:=1
    protectall
    MsgBox "CCK Vial label and Patient Syringe label printed to DYMO printer", vbCritical, "CCK Labels"
    Exit For
End If

Next j


 Application.ActivePrinter = oldpname

End Sub
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,215,227
Messages
6,123,738
Members
449,116
Latest member
alexlomt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top