我使用的是PostgreSQL 9.1.X
我试图构建psql脚本来打印没有页眉但包含页脚的结果。
http://www.postgresql.org/docs/9.1/static/app-psql.html
从上面的文件
\pset tuples_only
将同时关闭页眉和页脚。和
\pset footer off
只会关闭页脚。
在psql中是否有一种方法可以关闭页眉并保持页脚开着?
我知道有很多方法可以使用shell/perl/任何您喜欢的文本工具来解决这个问题,但是我想知道为什么页脚有一个配置,而页眉没有配置呢?
id <--this line I don't want
下面的代码可以在chrome和firefox中删除页眉和页脚,但不能在Internet Explorer中删除打印页面的页眉和页脚。请告诉我如何在IE浏览器中修复? @page
{
size: auto; /* auto is the initial value */
margin: 0mm; /* this affects the margin in the printer settings */
}