在PB中实现页面反向打印的问题

laoduan_78 2008-03-18 10:56:15
我想在PB中用数据窗口做报表,但是打印出来的是反向的,例如,字符串值为“ABCDEFG”,打印出来后页面上是“GFEDCBA”,而且页面中的图片也是反向的,怎么做?各位大侠,帮帮忙!
...全文
126 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
UltraBejing 2008-05-01
  • 打赏
  • 举报
回复
都是很好的建议! 值得学习
eviler 2008-03-20
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 AFIC 的回复:]
普通打印,看纸的反面……
[/Quote]

支持
myvicy 2008-03-19
  • 打赏
  • 举报
回复
打印选项里可以设置的。
ybkenan 2008-03-18
  • 打赏
  • 举报
回复
沒有這種打印屬性吧?我是沒找到。這個比較難。
AFIC 2008-03-18
  • 打赏
  • 举报
回复
普通打印,看纸的反面……
SKY_4K_PPM 2008-03-18
  • 打赏
  • 举报
回复
顶 乌龟!
v888 2008-03-18
  • 打赏
  • 举报
回复
...原来你是要这样的代码·没做过
v888 2008-03-18
  • 打赏
  • 举报
回复
我想在PB中用数据窗口做报表,但是打印出来的是反向的
---------------------------------------------------------
楼主能否把你打印代码贴出来?
dawugui 2008-03-18
  • 打赏
  • 举报
回复
而且页面中的图片也是反向的,怎么做?各位大侠,帮帮忙!

------------------

这个要用到图像旋转技术.我原来对此有个专题.
你在本版查查.
dawugui 2008-03-18
  • 打赏
  • 举报
回复
如果仅仅是字符串,可以使用reverse函数.

escription

Reverses the order or characters in a string.

Syntax

Reverse ( string )

Argument Description
string A string whose characters you want to reorder so that the last character is first and the first character is last
Return value

String. Returns a string with the characters of string in reversed order. Returns the empty string if it fails.

Usage

Reverse is useful with the IsArabic and IsHebrew functions, which help you implement right-to-left character display when you are using a version of Windows that supports right-to-left languages.

Under a a version of Windows that supports right-to-left languages, this statement returns a string with the characters in reverse order from the characters entered in sle_name:

string ls_name

ls_name = Reverse(sle_name.Text)

609

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder DataWindow
社区管理员
  • DataWindow社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧