Crystal“PrintToPrinter”不会打印到Zebra标签打印机......帮助! [英] Crystal "PrintToPrinter" will not print to Zebra Label Printer... HELP!

查看:89
本文介绍了Crystal“PrintToPrinter”不会打印到Zebra标签打印机......帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台Zebra S500和多台S600标签打印机。

http://www.zebra.com/id/zebra/na/en/...cial/s600.html


他们目前正在我们的旧版Foxpro应用程序中使用

罚款。我们正在升级到ASP.NET和Crystal XI。我需要在打印这些标签的过程中自动化

,这样当用户在Web应用程序上执行特定的操作时,标签会自动打印。

用户无法进入打印预览状态。页面...标签必须只需

打印。


这是我的代码:


使用ReportDoc

.SetDataSource(MyDataSet)

.PrintOptions.PrinterName =" MyZebra"

.PrintToPrinter(1,False,1,1)

结束


简单而甜蜜......但它不起作用。如果我将PrinterName

更改为HP Laserjet 4打印机......它可以正常工作。如果我将用户

带到打印预览窗口并允许它们从那里打印(通过

选择Zebra标签打印机),它也可以正常工作。 />

要指出的一点......当我点击代码PrintToPrinter时斑马标签打印机上的

活动指示灯闪烁一次......那就好了...... b $ b它......没有其他事情发生。所以我知道它得到的东西,但它显然也遗漏了一些东西。


我已经设置了PaperSize,PaperSource,PageMargins,

PaperOrientation试图找到让它打印的东西...但没有

这样的运气。


任何帮助都会是非常感谢。

解决方案



" ATJaguarX" < AT ******* @ gmail.com>在消息中写道

新闻:11 ********************* @ j33g2000cwa.googlegro ups.com ...
< blockquote class =post_quotes>要指出的一点......当我点击代码PrintToPrinter时斑马标签打印机上的
活动指示灯闪烁一次......那就是它......没有其他任何事情发生。所以我知道它得到的东西,但它显然也遗漏了一些东西。

我已经设置了PaperSize,PaperSource,PageMargins,
PaperOrientation试图找一些东西让它打印......但没有这样的运气。




您是否尝试将换页附加到打印机输出?


如何将表单源附加到打印机输出?


如何追加打印机输出的换页?


I have a Zebra S500 and multiple S600 label printers.

http://www.zebra.com/id/zebra/na/en/...cial/s600.html

They are currently being used in our legacy Foxpro application just
fine. We are upgrading to ASP.NET and Crystal XI. I need to automate
the process of printing these labels, so that when the use performs a
specific action on the web app, the label automatically prints. The
user cannot be taken to a "Print Preview" page... the label has to just
print.

Here is my code:

With ReportDoc
.SetDataSource(MyDataSet)
.PrintOptions.PrinterName = "MyZebra"
.PrintToPrinter(1, False, 1, 1)
End With

Simple and sweet.... but it doesn''t work. If I change the PrinterName
to our HP Laserjet 4 printer... it works just fine. If I take the user
to a print preview window and allow them to print from there (by
selecting the Zebra label printer), it also works just fine.

A thing to point out... when I hit the code "PrintToPrinter" the
activity light on the Zebra Label Printer blinks once... and thats
it... nothing else happens. So I know its getting something, but it is
apparently missing something as well.

I have gone as far as setting the PaperSize, PaperSource, PageMargins,
PaperOrientation to try to find something to make it print... but no
such luck.

ANY help would be greatly appreciated.

解决方案


"ATJaguarX" <AT*******@gmail.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...

A thing to point out... when I hit the code "PrintToPrinter" the
activity light on the Zebra Label Printer blinks once... and thats
it... nothing else happens. So I know its getting something, but it is
apparently missing something as well.

I have gone as far as setting the PaperSize, PaperSource, PageMargins,
PaperOrientation to try to find something to make it print... but no
such luck.



Have you tried appending a form feed to the printer output?


How do I append a form feed to the printer output?


How do I append a form feed to the printer output?


这篇关于Crystal“PrintToPrinter”不会打印到Zebra标签打印机......帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆